package com.ruoyi.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.ams.domain.AmsAssetInventory;

import java.util.List;

/**
 * 盘点单Service接口
 * 
 * @author yfkj
 * @date 2022-05-16
 */
public interface IAmsAssetInventoryService  extends IService<AmsAssetInventory>
{
    /**
     * 查询盘点单
     * 
     * @param inventoryId 盘点单主键
     * @return 盘点单
     */
    public AmsAssetInventory selectAmsAssetInventoryByInventoryId(Long inventoryId);

    /**
     * 查询盘点单列表
     * 
     * @param amsAssetInventory 盘点单
     * @return 盘点单集合
     */
    public List<AmsAssetInventory> selectAmsAssetInventoryList(AmsAssetInventory amsAssetInventory);

    /**
     * 新增盘点单
     * 
     * @param amsAssetInventory 盘点单
     * @return 结果
     */
    public int insertAmsAssetInventory(AmsAssetInventory amsAssetInventory);

    /**
     * 修改盘点单
     * 
     * @param amsAssetInventory 盘点单
     * @return 结果
     */
    public int updateAmsAssetInventory(AmsAssetInventory amsAssetInventory);

    /**
     * 批量删除盘点单
     * 
     * @param inventoryIds 需要删除的盘点单主键集合
     * @return 结果
     */
    public int deleteAmsAssetInventoryByInventoryIds(Long[] inventoryIds);

    /**
     * 删除盘点单信息
     * 
     * @param inventoryId 盘点单主键
     * @return 结果
     */
    public int deleteAmsAssetInventoryByInventoryId(Long inventoryId);
}
